<!DOCTYPE html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" th:href="@{/static/css/login.css}">
    <style>
        .span-error {
            color: red;
            font-size:16px ;
        }

    </style>
</head>
<body>
<div class="login_container">
    <h1>注册</h1><br><hr>
    <form th:action="@{/register}" method="post">
        <label for="username">用户名</label><br>
        <input type="text"  name="username" th:value="${username}" id="username"  placeholder="请输入用户名"><br>
        <label for="password">密码</label><br>
        <input type="password" name = "password" th:value="${password}" id="password"  placeholder="请输入密码"><br>
        <label for="password2">确认密码:</label><br>
        <input type="password" name = "password2" th:value="${password2}" id="password2" placeholder="请再次输入密码" required><br>

        <input type="submit" value="注册">
    </form>
</div>


</body>
</html>